package com.battle.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.battle.pojo.dto.warCaseStudy.WarCaseStudyUserDto;
import com.battle.pojo.dto.warCaseStudyUser.SelectWarCaseStudyUserDto;
import com.battle.pojo.entity.WarCaseStudyUser;
import com.battle.pojo.vo.warCaseStudyUser.GetWarCaseStudyUserListVo;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
* 【描 述】：
* 【环 境】：J2SE
* 【详 细】：
*
*/
@Repository
public interface WarCaseStudyUserMapper extends BaseMapper< WarCaseStudyUser > {
    /**
     * 搜索战例研讨用户
     * @param dto
     * @return
     */
    Page<GetWarCaseStudyUserListVo> selectWarCaseStudyUser(SelectWarCaseStudyUserDto dto);

    List<WarCaseStudyUserDto> getListByStudyIds(List<Long> studyIds);
}